<?php

  $view = new stdClass();
  $view->name = 'dashboard_mine';
  $view->description = 'A listing of a user\'s dashboards';
  $view->access = array (
  0 => '4',
  1 => '3',
  2 => '5',
);
  $view->view_args_php = '';
  $view->page = TRUE;
  $view->page_title = 'My dashboards';
  $view->page_header = '';
  $view->page_header_format = '1';
  $view->page_footer = '';
  $view->page_footer_format = '1';
  $view->page_empty = '';
  $view->page_empty_format = '1';
  $view->page_type = 'panels_twocol';
  $view->url = 'mine';
  $view->use_pager = TRUE;
  $view->nodes_per_page = '6';
  $view->block = TRUE;
  $view->block_title = 'My dashboards';
  $view->block_header = '';
  $view->block_header_format = '1';
  $view->block_footer = '';
  $view->block_footer_format = '1';
  $view->block_empty = '';
  $view->block_empty_format = '1';
  $view->block_type = 'list';
  $view->nodes_per_block = '3';
  $view->block_more = TRUE;
  $view->block_use_page_header = FALSE;
  $view->block_use_page_footer = FALSE;
  $view->block_use_page_empty = FALSE;
  $view->sort = array (
  );
  $view->argument = array (
  );
  $view->field = array (
    array (
      'tablename' => 'node',
      'field' => 'title',
      'label' => '',
      'handler' => 'views_handler_field_nodelink',
      'options' => 'link',
    ),
  );
  $view->filter = array (
    array (
      'tablename' => 'dashboard',
      'field' => 'next_nid',
      'operator' => '=',
      'options' => '',
      'value' => '0',
    ),
    array (
      'tablename' => 'node_data_field_dashboard_user',
      'field' => 'field_dashboard_user_uid_default',
      'operator' => 'OR',
      'options' => '',
      'value' => array (
  0 => '***CURRENT_USER***',
),
    ),
    array (
      'tablename' => 'node',
      'field' => 'status',
      'operator' => '=',
      'options' => '',
      'value' => '1',
    ),
  );
  $view->exposed_filter = array (
  );
  $view->requires = array(node, dashboard, node_data_field_dashboard_user);
  $views[$view->name] = $view;

include_once './'. drupal_get_path('module', 'views') .'/views_cache.inc';
views_sanitize_view($view);
drupal_execute('views_edit_view', array(), $view);
